package com.gitee.l0km.codegen.webclient;

import java.io.File;

import org.apache.commons.cli.Option;

public class GSoapClientOptions extends WebClientOptions implements GSoapConstants {
	private final static GSoapClientOptions instance = new GSoapClientOptions();
	
	@Override
	protected void addOptionalOptions() {
		// 删除PACKAGE_OPTION必选项
	}
	/**
	 * 
	 */
	protected GSoapClientOptions() {
		options.addOption(Option.builder(GSOAP_STUB_FOLDER_OPTION).longOpt(GSOAP_STUB_FOLDER_OPTION_LONG).desc(GSOAP_STUB_FOLDER_OPTION_DESC)
				.numberOfArgs(1).type(File.class).required().build());
		options.addOption(Option.builder(GSOAP_STUBPREFIX_OPTION).longOpt(GSOAP_STUBPREFIX_OPTION_LONG).desc(GSOAP_STUBPREFIX_OPTION_DESC)
				.numberOfArgs(1).build());	
	}
	

	/**
	 * @return instance
	 */
	public static GSoapClientOptions getInstance() {
		return instance;
	}

}
